/**
 * Created by LiH on 2018/7/30.
 */
export default function (vm) {
  const defaults = {};

  for (let i in vm.$options.props) {
    if (i !== 'value') {
      defaults[i] = vm.$options.props[i].default
    }
  }

  return defaults
}
